package com.xiaoxi.domain.role;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author xiaoxi
 * @version 1.0
 * @date 2022/6/1 16:52
 */
@TableName("bms_role")
@Data
public class BMSRole implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer roleType;
    private String icon;

    @TableField(fill = FieldFill.INSERT)
    private Long version;

    @TableField(fill = FieldFill.INSERT)
    private Long createId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long modifyId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;

}
